←Select platform

ProcessPageEventArgs Constructor(RasterImage,int,int,int,bool,IOcrDocument,int,List<FormField>,PageAlignment)

Summary

Initializes a new instance of ProcessPageEventArgs that is used in PreProcessPage and PostProcessPage events.

Syntax
C#
VB
C++
Public Sub New(ByVal form As RasterImage, ByVal formFirstPageNumber As Integer, ByVal formCurrentPageNumber As Integer, ByVal formLastPageNumber As Integer, ByVal requiresOcr As Boolean, ByVal ocrDocument As IOcrDocument, ByVal ocrPageNumber As Integer, ByVal fields As List(Of FormField), ByVal alignment As PageAlignment) 
 MyBase.New 

Parameters

form

The form page image that is being processed.

formFirstPageNumber

The starting page number of the form being processed.

formCurrentPageNumber

The current page number that is undergoing processing.

formLastPageNumber

The last page number of the form being processed.

requiresOcr

A flag that specifies whether this page needs to be added to the OCR engine in order to process its fields.

ocrDocument

The OcrDocument that contains the page.

ocrPageNumber

The index of the page in the OcrDocument.

fields

A List<FormField> object that contains the fields of this form page.

alignment

A Leadtools.Forms.Common.PageAlignment object that determines the amount of shift and scaling to align the Master Form's fields to this page field. If it is null, fields will be aligned depending on the image resolution.

Remarks

ProcessPageEventArgs provides information to users about the form page under processing associated with PreProcessPage and PostProcessPage events. This information may be used in cleaning-up the image before processing or monitoring the progress. PreProcessPage and PostProcessPage events are fired during the form processing operation by FormProcessingEngine and AutoFormsEngine objects.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Processing Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.